package com.easyban.entity;

import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDate;

@Data
public class User implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    private Long id;
    private String userId;
    private String username;
    private String password;
    private String sex;
    private String email;
    private String mobile;
    private LocalDate birthday;
    private String identityCode;
    /**
     * 0：管理员
     * 1：普通用户
     * 2：封禁
     */
    private Integer status;
}
